﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RooHui.Infrastructure.Component.Email
{
    public class EmailContext
    {
        /// <summary>
        /// 邮件主题
        /// </summary>
        public string Subject { get; set; }
        /// <summary>
        /// 发件箱
        /// </summary>
        public string From { get; set; }
        /// <summary>
        /// 收件箱地址
        /// </summary>
        public string Recipient { get; set; }
        /// <summary>
        /// 关联显示名称
        /// </summary>
        public string DisplayName { get; set; }
        /// <summary>
        /// 邮件内容
        /// </summary>
        public string Body { get; set; }
        /// <summary>
        /// 发件箱账号
        /// </summary>
        public string CredentialUserName { get; set; }
        /// <summary>
        /// 发件箱密码
        /// </summary>
        public string CredentialPassword { get; set; }
        /// <summary>
        /// 附件
        /// </summary>
        public List<string> attachments { get; set; }
    }
}
